package com.lxh.student.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lxh
 * @date 2023/4/9 12:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("Swagger测试用户实体类")
public class SwaggerTestUser {

    @ApiModelProperty(value = "姓名",required = true,example = "蔡徐坤")
    private String name;

    @ApiModelProperty(value = "年龄",required = true,example = "22")
    private Integer age;
}
